/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.aptech.domain.model;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author Admin
 */
public class AccountDO implements Serializable {
    private Integer accountId;
    private String username;
    private String password;
    private String email;
    private Timestamp createdDate;
    private String familyName;
    private String givenName;
    private Integer mobile;
    private Timestamp dob;
    private Integer isAdmin;
    private String authority;
    private List<NewsDO> newses = new ArrayList<NewsDO>();
    private List<TopicDO> topics = new ArrayList<TopicDO>();
    private List<FaqDO> faqs = new ArrayList<FaqDO>();
    private List<EventRequestDO> eventRequests = new ArrayList<EventRequestDO>();

    /**
     * @return the accountId
     */
    public Integer getAccountId() {
        return accountId;
    }

    /**
     * @param accountId the accountId to set
     */
    public void setAccountId(Integer accountId) {
        this.accountId = accountId;
    }

    /**
     * @return the username
     */
    public String getUsername() {
        return username;
    }

    /**
     * @param username the username to set
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * @return the password
     */
    public String getPassword() {
        return password;
    }

    /**
     * @param password the password to set
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * @return the email
     */
    public String getEmail() {
        return email;
    }

    /**
     * @param email the email to set
     */
    public void setEmail(String email) {
        this.email = email;
    }

    /**
     * @return the createdDate
     */
    public Timestamp getCreatedDate() {
        return createdDate;
    }

    /**
     * @param createdDate the createdDate to set
     */
    public void setCreatedDate(Timestamp createdDate) {
        this.createdDate = createdDate;
    }

    /**
     * @return the familyName
     */
    public String getFamilyName() {
        return familyName;
    }

    /**
     * @param familyName the familyName to set
     */
    public void setFamilyName(String familyName) {
        this.familyName = familyName;
    }

    /**
     * @return the givenName
     */
    public String getGivenName() {
        return givenName;
    }

    /**
     * @param givenName the givenName to set
     */
    public void setGivenName(String givenName) {
        this.givenName = givenName;
    }

    /**
     * @return the mobile
     */
    public Integer getMobile() {
        return mobile;
    }

    /**
     * @param mobile the mobile to set
     */
    public void setMobile(Integer mobile) {
        this.mobile = mobile;
    }

    /**
     * @return the dob
     */
    public Timestamp getDob() {
        return dob;
    }

    /**
     * @param dob the dob to set
     */
    public void setDob(Timestamp dob) {
        this.dob = dob;
    }

    /**
     * @return the isAdmin
     */
    public Integer getIsAdmin() {
        return isAdmin;
    }

    /**
     * @param isAdmin the isAdmin to set
     */
    public void setIsAdmin(Integer isAdmin) {
        this.isAdmin = isAdmin;
    }

    /**
     * @return the authority
     */
    public String getAuthority() {
        return authority;
    }

    /**
     * @param authority the authority to set
     */
    public void setAuthority(String authority) {
        this.authority = authority;
    }

    /**
     * @return the newses
     */
    public List<NewsDO> getNewses() {
        return newses;
    }

    /**
     * @param newses the newses to set
     */
    public void setNewses(List<NewsDO> newses) {
        this.newses = newses;
    }

    /**
     * @return the topics
     */
    public List<TopicDO> getTopics() {
        return topics;
    }

    /**
     * @param topics the topics to set
     */
    public void setTopics(List<TopicDO> topics) {
        this.topics = topics;
    }

    /**
     * @return the faqs
     */
    public List<FaqDO> getFaqs() {
        return faqs;
    }

    /**
     * @param faqs the faqs to set
     */
    public void setFaqs(List<FaqDO> faqs) {
        this.faqs = faqs;
    }

    /**
     * @return the eventRequests
     */
    public List<EventRequestDO> getEventRequests() {
        return eventRequests;
    }

    /**
     * @param eventRequests the eventRequests to set
     */
    public void setEventRequests(List<EventRequestDO> eventRequests) {
        this.eventRequests = eventRequests;
    }

}
